Optimal. Leaf size=43 \[ \frac {5 \text {Shi}\left (2 \tanh ^{-1}(a x)\right )}{32 a^6}-\frac {\text {Shi}\left (4 \tanh ^{-1}(a x)\right )}{8 a^6}+\frac {\text {Shi}\left (6 \tanh ^{-1}(a x)\right )}{32 a^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {6181, 5556,
3379} \begin {gather*} \frac {5 \text {Shi}\left (2 \tanh ^{-1}(a x)\right )}{32 a^6}-\frac {\text {Shi}\left (4 \tanh ^{-1}(a x)\right )}{8 a^6}+\frac {\text {Shi}\left (6 \tanh ^{-1}(a x)\right )}{32 a^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3379
Rule 5556
Rule 6181
Rubi steps
\begin {align*} \int \frac {x^5}{\left (1-a^2 x^2\right )^4 \tanh ^{-1}(a x)} \, dx &=\frac {\text {Subst}\left (\int \frac {\cosh (x) \sinh ^5(x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a^6}\\ &=\frac {\text {Subst}\left (\int \left (\frac {5 \sinh (2 x)}{32 x}-\frac {\sinh (4 x)}{8 x}+\frac {\sinh (6 x)}{32 x}\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a^6}\\ &=\frac {\text {Subst}\left (\int \frac {\sinh (6 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{32 a^6}-\frac {\text {Subst}\left (\int \frac {\sinh (4 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{8 a^6}+\frac {5 \text {Subst}\left (\int \frac {\sinh (2 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{32 a^6}\\ &=\frac {5 \text {Shi}\left (2 \tanh ^{-1}(a x)\right )}{32 a^6}-\frac {\text {Shi}\left (4 \tanh ^{-1}(a x)\right )}{8 a^6}+\frac {\text {Shi}\left (6 \tanh ^{-1}(a x)\right )}{32 a^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 33, normalized size = 0.77 \begin {gather*} \frac {5 \text {Shi}\left (2 \tanh ^{-1}(a x)\right )-4 \text {Shi}\left (4 \tanh ^{-1}(a x)\right )+\text {Shi}\left (6 \tanh ^{-1}(a x)\right )}{32 a^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.62, size = 33, normalized size = 0.77
method | result | size |
derivativedivides | \(\frac {-\frac {\hyperbolicSineIntegral \left (4 \arctanh \left (a x \right )\right )}{8}+\frac {\hyperbolicSineIntegral \left (6 \arctanh \left (a x \right )\right )}{32}+\frac {5 \hyperbolicSineIntegral \left (2 \arctanh \left (a x \right )\right )}{32}}{a^{6}}\) | \(33\) |
default | \(\frac {-\frac {\hyperbolicSineIntegral \left (4 \arctanh \left (a x \right )\right )}{8}+\frac {\hyperbolicSineIntegral \left (6 \arctanh \left (a x \right )\right )}{32}+\frac {5 \hyperbolicSineIntegral \left (2 \arctanh \left (a x \right )\right )}{32}}{a^{6}}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 200 vs.
\(2 (37) = 74\).
time = 0.37, size = 200, normalized size = 4.65 \begin {gather*} \frac {\operatorname {log\_integral}\left (-\frac {a^{3} x^{3} + 3 \, a^{2} x^{2} + 3 \, a x + 1}{a^{3} x^{3} - 3 \, a^{2} x^{2} + 3 \, a x - 1}\right ) - \operatorname {log\_integral}\left (-\frac {a^{3} x^{3} - 3 \, a^{2} x^{2} + 3 \, a x - 1}{a^{3} x^{3} + 3 \, a^{2} x^{2} + 3 \, a x + 1}\right ) - 4 \, \operatorname {log\_integral}\left (\frac {a^{2} x^{2} + 2 \, a x + 1}{a^{2} x^{2} - 2 \, a x + 1}\right ) + 4 \, \operatorname {log\_integral}\left (\frac {a^{2} x^{2} - 2 \, a x + 1}{a^{2} x^{2} + 2 \, a x + 1}\right ) + 5 \, \operatorname {log\_integral}\left (-\frac {a x + 1}{a x - 1}\right ) - 5 \, \operatorname {log\_integral}\left (-\frac {a x - 1}{a x + 1}\right )}{64 \, a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{5}}{\left (a x - 1\right )^{4} \left (a x + 1\right )^{4} \operatorname {atanh}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^5}{\mathrm {atanh}\left (a\,x\right )\,{\left (a^2\,x^2-1\right )}^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________